trigger LeadDuplicateTrigger on Lead (after insert, after update, before insert,before update) {
/*

  if(trigger.isBefore)
  {
  	if (!LeadDedupeHelper.IsRecursive() ) {
  		  
  		//get record types
  		//LeadDedupeHelper.GetRecordTypes();	
  		  
  		//Move address for salesgenie leads
  		//LeadDedupeHelper.MoveStandardAddress(Trigger.new, Trigger.oldMap,Trigger.isInsert );
  		
  		//assign owner from afempid
  		LeadDedupeHelper.AssignOwner(Trigger.new, Trigger.oldMap,Trigger.isInsert);
  		
    	LeadDedupeHelper.DeDupeAccountPhone(Trigger.new, Trigger.oldMap,Trigger.isInsert); 
  		}
    					  	    
  		  	    
  	}  	  
  else if(trigger.isAfter)
  {
  	if (!LeadDedupeHelper.IsRecursive() ) {
  	    LeadDedupeHelper.DeDupeLeadAccount(Trigger.newMap, Trigger.oldMap,Trigger.isInsert);
   		LeadDedupeHelper.ConvertLead(Trigger.new, Trigger.oldMap,Trigger.isInsert);
  	}
  	
  }
  
trigger LeadDuplicateTrigger on Lead (after insert, after update, before insert,before update) {



  if(trigger.isBefore)
  {
    if (!LeadDedupeHelper.IsRecursive() ) {
          
        //get record types
        LeadDedupeHelper.GetRecordTypes();  
          
        //Move address for salesgenie leads
        LeadDedupeHelper.MoveStandardAddress(Trigger.new, Trigger.oldMap,Trigger.isInsert );
        
        //assign owner from afempid
        LeadDedupeHelper.AssignOwner(Trigger.new, Trigger.oldMap,Trigger.isInsert);
        
        LeadDedupeHelper.DeDupeAccountPhone(Trigger.new, Trigger.oldMap,Trigger.isInsert); 
        }
                                
                
    }     
  else if(trigger.isAfter)
  {
    if (!LeadDedupeHelper.IsRecursive() ) {
        LeadDedupeHelper.DeDupeLeadAccount(Trigger.newMap, Trigger.oldMap,Trigger.isInsert);
        LeadDedupeHelper.ConvertLead(Trigger.new, Trigger.oldMap,Trigger.isInsert);
    }
    
  }*/
   
}